home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950929-19951130
/
000143_news@columbia.edu_Thu Oct 19 01:53:50 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-12-25
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23345
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 19 Oct 1995 12:09:36 -0400
Received: by apakabar.cc.columbia.edu id AA11180
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 19 Oct 1995 12:09:34 -0400
Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Can Kermit Print? Another question.
Message-Id: <1995Oct19.075350.64206@cc.usu.edu>
Date: 19 Oct 95 07:53:50 MDT
References: <45c0dg$vf@solaris.cc.vt.edu> <1995Oct9.202742.63269@cc.usu.edu> <DGnuA2.ECB@murdoch.acc.Virginia.EDU>
Organization: Utah State University
Lines: 37
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <DGnuA2.ECB@murdoch.acc.Virginia.EDU>, ghp5h@virginia.edu (George H. Payne) writes:
> On a sort of related note--is there a way to script a print-through
> session? I have just started trying to do this (and yes, I have ordered
> the manual, but I have no idea when it'll get here) and it seems that I
> cannot use script commands and a terminal emulation at the same
> time--thus I can't just activate the print-through with my script and
> have it captured with "set printer". Or can I?
>
> This spawns two general questions:
> 1. Is there script archive anywhere?
> 2. Is there a way to send commands to a terminal session (as opposed to
> a "raw data" session)? Must my script detect the escape codes and
> toggle capturing itself?
>
> I apologize if this is indeed a stupid question. I'd love to RTFM, but
> I'm under pressure to get this done and I don't know when the FM will be
> here :). Thanks for any help.
> --
> George H. Payne
> Law Information Technology and Communications
> UVa Law School
--------------
Scripts run at Kermit prompt level, not within terminal emulation.
However, you may define a Kermit macro to do just about anything (holds
any Kermit commands) and tie it to a Connect mode key. But please be aware
that Connect mode is not operating while at the Kermit prompt level and
hence there will be no transparent printing activity there.
It's better to turn all this around and tell the remote host to
do the transparent printing work. That is, have a command file of some
kind on the host and run it. In turn that cmd file brackets the file to be
printed with the ESC [ 4/5 i transparent printing control sequences. If
that command file were named tprint.com then invoke it as say
"tprint filename." Kermit would be in Connect mode the whole time.
Another alternative is to just transfer the file from the host to
the printer using the Kermit file transfer protocol. The file destination
would be PRN or other suitable name. This approach is robust.
Joe D.